home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / src / bin / crayola / common / crayolaP.h < prev    next >
C/C++ Source or Header  |  1992-11-30  |  807b  |  31 lines

  1. #ifndef CRAYOLAP_H
  2. #define CRAYOLAP_H
  3.  
  4. #include "crayola.h"
  5.  
  6. #define CRAYOLA_MAXNAME 128
  7.  
  8. /* 
  9.  * WARNING:  The order of the names of the routines is hardcoded
  10.  * into the functions themselves.
  11.  */
  12. #define CRAYOLA_MAXMETH 15
  13. #define CRAYOLA_METHNAMES "crayHasColor", "crayHasVColor", "crayHasFColor", \
  14. "crayCanUseVColor", "crayCanUseFColor", \
  15. "crayUseVColor", "crayUseFColor", "crayEliminateColor", \
  16. "craySetColorAll", \
  17. "craySetColorAt", "craySetColorAtV", "craySetColorAtF", \
  18. "crayGetColorAt", "crayGetColorAtV", "crayGetColorAtF"
  19.  
  20. typedef struct {
  21.   char name[CRAYOLA_MAXNAME];
  22.   GeomExtFunc *func;
  23. } craySpecFunc;
  24.  
  25. void crayInitSpec(craySpecFunc *specfunc, int n_func, GeomClass *class);
  26.  
  27. void *crayTrue(int sel, Geom *geom, va_list args);
  28. void *crayFalse(int sel, Geom *geom, va_list args);
  29.  
  30. #endif
  31.